package io.qar.images.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 图片列表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-07-13
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class ImagesExcel {
    @ExcelProperty(value = "图片id", index = 0)
    private Long imageId;
    @ExcelProperty(value = "名称", index = 1)
    private String filename;
    @ExcelProperty(value = "描述", index = 2)
    private String description;
    @ExcelProperty(value = "大小", index = 3)
    private Integer fileSize;
    @ExcelProperty(value = "图片类型", index = 4)
    private Integer imageType;
    @ExcelProperty(value = "归属类型", index = 5)
    private Integer imageBelong;
    @ExcelProperty(value = "归属id", index = 6)
    private Long belongId;
    @ExcelProperty(value = "更新时间", index = 7)
    private Date updatedAt;
}